package com.jumi.microservice.domain;

import com.jumi.microservice.common.page.PageDomain;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品搜索条件封装类
 *
 * @author Administrator
 */
public class GoodsSearchQuery extends PageDomain {

    @ApiModelProperty(value = "商品搜索关键词")
    private String keyWord;

    @ApiModelProperty(value = "筛选-价格区间-最低价")
    private BigDecimal goodsPriceFrom;

    @ApiModelProperty(value = "筛选-价格区间-最高价")
    private BigDecimal goodsPriceTo;

    @ApiModelProperty(value = "商品供应商ID")
    private Long supplyId;

    @ApiModelProperty(value = "商品分类ID")
    private Long categoryId;

    /**
     * 商品spuid(活动中已有的spu)
     */
    private List<Long> spuIds;

    @ApiModelProperty(value = "活动类型 用于筛选spuids (0:付邮领, 1:今日推荐, 2:聚米优选 3:聚米优品)")
    private Integer activityType;

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public BigDecimal getGoodsPriceFrom() {
        return goodsPriceFrom;
    }

    public void setGoodsPriceFrom(BigDecimal goodsPriceFrom) {
        this.goodsPriceFrom = goodsPriceFrom;
    }

    public BigDecimal getGoodsPriceTo() {
        return goodsPriceTo;
    }

    public void setGoodsPriceTo(BigDecimal goodsPriceTo) {
        this.goodsPriceTo = goodsPriceTo;
    }

    public Long getSupplyId() {
        return supplyId;
    }

    public void setSupplyId(Long supplyId) {
        this.supplyId = supplyId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public List<Long> getSpuIds() {
        return spuIds;
    }

    public void setSpuIds(List<Long> spuIds) {
        this.spuIds = spuIds;
    }

    public Integer getActivityType() {
        return activityType;
    }

    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }
}
